package org.farm2.wdap.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class WdapFlowNodeDto {

   
    private String id;
   
    @Size(min = 0, max = 128, message = "{farm2.validate.template.size}")
    private String pcontent;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 128, message = "{farm2.validate.template.size}")
    private String model;
   
    private String rid;
   
    private String flowid;
}